package org.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lining
 * @since 2023-12-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Goods对象", description="")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "分类ID")
    private Long categoryId;

    @ApiModelProperty(value = "卖家ID")
    private Long sellerId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "价格")
    private Double price;

    @ApiModelProperty(value = "原价格")
    private Double originalPrice;

    @ApiModelProperty(value = "描述")
    private String goodsDetail;

    @ApiModelProperty(value = "数量")
    private Integer goodsNumber;

    @ApiModelProperty(value = "热度")
    private Integer heat;

    @ApiModelProperty(value = "图片1")
    private String picture1;

    @ApiModelProperty(value = "图片2")
    private String picture2;

    @ApiModelProperty(value = "图片3")
    private String picture3;

    @ApiModelProperty(value = "图片4")
    private String picture4;

    @ApiModelProperty(value = "图片5")
    private String picture5;

    @ApiModelProperty(value = "精选1 白菜2")
    private Integer jbStatus;

    @ApiModelProperty(value = "售出0 还有1")
    private Integer sellStatus;

    @ApiModelProperty(value = "上架时间")
    private Date created;

    @ApiModelProperty(value = "更新时间")
    private Date updated;


}
